package com.cheyunkeji.er.activity.fast_evaluate;

import android.content.Intent;
import android.os.Bundle;
import android.widget.FrameLayout;

import com.cheyun.netsalev3.R;
import com.cheyunkeji.er.base.BaseActivity;
import com.cheyunkeji.er.bean.fast_evaluate.PrevEvaluateRecord;
import com.cheyunkeji.er.fragment.fast_evaluate.FastEvaluateFragment;

import butterknife.BindView;
import butterknife.ButterKnife;

public class PrevFastEvaluateActivity extends BaseActivity {

    private static final String TAG = PrevFastEvaluateActivity.class.getSimpleName();

    @BindView(R.id.container)
    FrameLayout container;

    @Override
    protected void init() {
        setContentView(R.layout.er_activity_prev_evaluate);
        ButterKnife.bind(this);
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        PrevEvaluateRecord data = (PrevEvaluateRecord)getIntent().getSerializableExtra("prevData");

        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.container,FastEvaluateFragment.newInstance(data))
                .commit();
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void onRestart() {
        super.onRestart();


    }

    @Override
    protected void onNewIntent(Intent intent) {
        super.onNewIntent(intent);

    }

    @Override
    protected void onResume() {
        super.onResume();
    }



}
